package com.haoze.nurse.model;

import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 医疗术语组合
 * @author zj
 * @date 2019年3月1日09:38:01
 */
@Table(name = "EMR_MEDICAL")
public class EmrMedicalEntity extends BaseEntity {

    @Id
    @Column(name = "MEDICAL_ID")
    private String medicalId; // 术语组合ID

    @Column(name = "CATALOG_ID")
    private String catalogId; // 目录ID

    @Column(name = "PARENT_ID")
    private String parentId; // 上级ID

    @Column(name = "MEDICAL_TYPE")
    private String medicalType; // 术语类型 11：选择型数据元，12：输入型数据元，2：值域，3：字典 5 术语

    @Column(name = "DATA_RELATION_ID")
    private String dataRelationId; // 关联SYS_DATA_ELEMENT.ELEMENT_ID或SYS_PRIMARY_DATA. PRIMARYDATA_ID或者对应字典ID

    @Column(name = "MAX_VALUE")
    private String maxValue; // 输入型上限值

    @Column(name = "MIN_VALUE")
    private String minValue; // 输入型下限值

    @Column(name = "KB_CODE")
    private String kbCode; // 术语组合编码

    @Column(name = "KB_NAME")
    private String kbName; // 术语组合名称

    @Column(name = "PY_CODE")
    private String pyCode; // 拼音码

    @Column(name = "WB_CODE")
    private String wbCode; // 五笔码

    @Column(name = "REMARK")
    private String remark; // 备注

    @Column(name = "SORT_ID")
    private Integer sortId; // 排序号

    @Column(name = "PARENT_ELEMENT")
    private String parentElement; // 上级数据元

    @Column(name = "UNIT")
    private String unit; // 上级数据元、

    @Column(name = "DEL_FLAG")
    private String delFlag; // 上级数据元目录id

    @Column(name = "STOP_FLAG")
    private String stopFlag; // 停用标志

    @Column(name = "ELEMENT_DATA_VALUE")
    private String elementDataValue;//数据元对应值

    @Column(name = "ELEMENT_DATA_VALUE_ID")
    private String elementDataValueId;//数据元对应值ID

    @Column(name = "ROOT_ID")
    private String rootId;

    public String getKbCode() {
        return kbCode;
    }

    public void setKbCode(String kbCode) {
        this.kbCode = kbCode;
    }

    public String getRootId() {
        return rootId;
    }

    public void setRootId(String rootId) {
        this.rootId = rootId;
    }

    public String getElementDataValueId() {
        return elementDataValueId;
    }

    public void setElementDataValueId(String elementDataValueId) {
        this.elementDataValueId = elementDataValueId;
    }

    public String getElementDataValue() {
        return elementDataValue;
    }

    public void setElementDataValue(String elementDataValue) {
        this.elementDataValue = elementDataValue;
    }

    public String getMedicalId() {
        return medicalId;
    }

    public void setMedicalId(String medicalId) {
        this.medicalId = medicalId;
    }

    public String getCatalogId() {
        return catalogId;
    }

    public void setCatalogId(String catalogId) {
        this.catalogId = catalogId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getMedicalType() {
        return medicalType;
    }

    public void setMedicalType(String medicalType) {
        this.medicalType = medicalType;
    }

    public String getDataRelationId() {
        return dataRelationId;
    }

    public void setDataRelationId(String dataRelationId) {
        this.dataRelationId = dataRelationId;
    }

    public String getMaxValue() {
        return maxValue;
    }

    public void setMaxValue(String maxValue) {
        this.maxValue = maxValue;
    }

    public String getMinValue() {
        return minValue;
    }

    public void setMinValue(String minValue) {
        this.minValue = minValue;
    }

    public String getKxCode() {
        return kbCode;
    }

    public void setKxCode(String kxCode) {
        this.kbCode = kxCode;
    }

    public String getKbName() {
        return kbName;
    }

    public void setKbName(String kbName) {
        this.kbName = kbName;
    }

    public String getPyCode() {
        return pyCode;
    }

    public void setPyCode(String pyCode) {
        this.pyCode = pyCode;
    }

    public String getWbCode() {
        return wbCode;
    }

    public void setWbCode(String wbCode) {
        this.wbCode = wbCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getSortId() {
        return sortId;
    }

    public void setSortId(Integer sortId) {
        this.sortId = sortId;
    }

    public String getParentElement() {
        return parentElement;
    }

    public void setParentElement(String parentElement) {
        this.parentElement = parentElement;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getStopFlag() {
        return stopFlag;
    }

    public void setStopFlag(String stopFlag) {
        this.stopFlag = stopFlag;
    }
}
